package com.nimitz.event.domain;

import com.nimitz.personnel.domain.PersonnelFactory;

import java.io.Serializable;
import java.time.LocalDate;


/*
事件表
 */
public class Event implements Serializable {
    private Long id;
    private String name;
    private String type;
    private Long createBy;
    private LocalDate createTime;
    private Long updateBy;
    private LocalDate updateTime;
    private String state;
    private String content;
    private Long areaId;
    private PersonnelFactory personnelFactory;
    private Integer islive;

    public Integer getIslive() {
        return islive;
    }

    public void setIslive(Integer islive) {
        this.islive = islive;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public PersonnelFactory getPersonnelFactory() {
        return personnelFactory;
    }

    public void setPersonnelFactory(PersonnelFactory personnelFactory) {
        this.personnelFactory = personnelFactory;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public LocalDate getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDate createTime) {
        this.createTime = createTime;
    }

    public LocalDate getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDate updateTime) {
        this.updateTime = updateTime;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
